-- GENERATED SPELL FOR [Spitelash Myrmidon] --


function spell0_6196(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6196', 551, 1)
end

function Sorts_6196(pUnit, Event)
local choix_sorts_6196 = math.random(0, 0)
if choix_sorts_6196 == 0 then
pUnit:RegisterEvent('spell0_6196', 1, 1)
end
end

function mob6196_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6196', math.random(1500, 3000), 1)
end

function mob6196_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6196_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6196_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6196, 1, 'mob6196_Action')
RegisterUnitEvent(6196, 2, 'mob6196_Leave')
RegisterUnitEvent(6196, 3, 'mob6196_Kill')
RegisterUnitEvent(6196, 4, 'mob6196_Die')
